package com.Brewing.springboot.entity.TpCategories;

import java.io.Serializable;

public class TpCategories implements Serializable {
    /**
     * 分类id
     */
    private String id;

    /**
     * 分类名
     */
    private String name;

    private String alias;

    /**
     * 简介
     */
    private String description;

    /**
     * 分类图片
     */
    private String bgpicture;

    /**
     * 分类颜色
     */
    private String bgcolor;

    /**
     * 头图片
     */
    private String headerimage;

    /**
     * 默认id
     */
    private String defaultauthorid;

    /**
     * 目标id
     */
    private String tagid;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias == null ? null : alias.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getBgpicture() {
        return bgpicture;
    }

    public void setBgpicture(String bgpicture) {
        this.bgpicture = bgpicture == null ? null : bgpicture.trim();
    }

    public String getBgcolor() {
        return bgcolor;
    }

    public void setBgcolor(String bgcolor) {
        this.bgcolor = bgcolor == null ? null : bgcolor.trim();
    }

    public String getHeaderimage() {
        return headerimage;
    }

    public void setHeaderimage(String headerimage) {
        this.headerimage = headerimage == null ? null : headerimage.trim();
    }

    public String getDefaultauthorid() {
        return defaultauthorid;
    }

    public void setDefaultauthorid(String defaultauthorid) {
        this.defaultauthorid = defaultauthorid == null ? null : defaultauthorid.trim();
    }

    public String getTagid() {
        return tagid;
    }

    public void setTagid(String tagid) {
        this.tagid = tagid == null ? null : tagid.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", alias=").append(alias);
        sb.append(", description=").append(description);
        sb.append(", bgpicture=").append(bgpicture);
        sb.append(", bgcolor=").append(bgcolor);
        sb.append(", headerimage=").append(headerimage);
        sb.append(", defaultauthorid=").append(defaultauthorid);
        sb.append(", tagid=").append(tagid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}